Optimal. Leaf size=195 \[ -\frac {x^7}{3 \sqrt {2+x^6}}+\frac {7}{12} x \sqrt {2+x^6}-\frac {7 x \left (\sqrt [3]{2}+x^2\right ) \sqrt {\frac {2^{2/3}-\sqrt [3]{2} x^2+x^4}{\left (\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}+\left (1-\sqrt {3}\right ) x^2}{\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{12 \sqrt [3]{2} \sqrt [4]{3} \sqrt {\frac {x^2 \left (\sqrt [3]{2}+x^2\right )}{\left (\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {2+x^6}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 195, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {294, 327, 231}
\begin {gather*} -\frac {7 \left (x^2+\sqrt [3]{2}\right ) \sqrt {\frac {x^4-\sqrt [3]{2} x^2+2^{2/3}}{\left (\left (1+\sqrt {3}\right ) x^2+\sqrt [3]{2}\right )^2}} x F\left (\text {ArcCos}\left (\frac {\left (1-\sqrt {3}\right ) x^2+\sqrt [3]{2}}{\left (1+\sqrt {3}\right ) x^2+\sqrt [3]{2}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{12 \sqrt [3]{2} \sqrt [4]{3} \sqrt {\frac {x^2 \left (x^2+\sqrt [3]{2}\right )}{\left (\left (1+\sqrt {3}\right ) x^2+\sqrt [3]{2}\right )^2}} \sqrt {x^6+2}}+\frac {7}{12} \sqrt {x^6+2} x-\frac {x^7}{3 \sqrt {x^6+2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 231
Rule 294
Rule 327
Rubi steps
\begin {align*} \int \frac {x^{12}}{\left (2+x^6\right )^{3/2}} \, dx &=-\frac {x^7}{3 \sqrt {2+x^6}}+\frac {7}{3} \int \frac {x^6}{\sqrt {2+x^6}} \, dx\\ &=-\frac {x^7}{3 \sqrt {2+x^6}}+\frac {7}{12} x \sqrt {2+x^6}-\frac {7}{6} \int \frac {1}{\sqrt {2+x^6}} \, dx\\ &=-\frac {x^7}{3 \sqrt {2+x^6}}+\frac {7}{12} x \sqrt {2+x^6}-\frac {7 x \left (\sqrt [3]{2}+x^2\right ) \sqrt {\frac {2^{2/3}-\sqrt [3]{2} x^2+x^4}{\left (\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}+\left (1-\sqrt {3}\right ) x^2}{\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{12 \sqrt [3]{2} \sqrt [4]{3} \sqrt {\frac {x^2 \left (\sqrt [3]{2}+x^2\right )}{\left (\sqrt [3]{2}+\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {2+x^6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 6.62, size = 54, normalized size = 0.28 \begin {gather*} \frac {x \left (14+3 x^6-7 \sqrt {2} \sqrt {2+x^6} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};-\frac {x^6}{2}\right )\right )}{12 \sqrt {2+x^6}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
4.
time = 0.18, size = 20, normalized size = 0.10
method | result | size |
meijerg | \(\frac {\sqrt {2}\, x^{13} \hypergeom \left (\left [\frac {3}{2}, \frac {13}{6}\right ], \left [\frac {19}{6}\right ], -\frac {x^{6}}{2}\right )}{52}\) | \(20\) |
risch | \(\frac {x \left (3 x^{6}+14\right )}{12 \sqrt {x^{6}+2}}-\frac {7 \sqrt {2}\, x \hypergeom \left (\left [\frac {1}{6}, \frac {1}{2}\right ], \left [\frac {7}{6}\right ], -\frac {x^{6}}{2}\right )}{12}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.07, size = 25, normalized size = 0.13 \begin {gather*} {\rm integral}\left (\frac {\sqrt {x^{6} + 2} x^{12}}{x^{12} + 4 \, x^{6} + 4}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.59, size = 36, normalized size = 0.18 \begin {gather*} \frac {\sqrt {2} x^{13} \Gamma \left (\frac {13}{6}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{2}, \frac {13}{6} \\ \frac {19}{6} \end {matrix}\middle | {\frac {x^{6} e^{i \pi }}{2}} \right )}}{24 \Gamma \left (\frac {19}{6}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^{12}}{{\left (x^6+2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________